<template>
	<view class="">
		<view class="box" v-for="(item,index) in 10" :key="index">box模块{{index}}</view>
		
		<view v-for="item in nba" :key="item.id">
			球星:{{item.name}} - 球衣:{{item.num}}
		</view>
	</view>
</template>

<script setup>
import { ref } from 'vue';

const nba = ref([
	{id:1,name:"乔丹",num:23},
	{id:2,name:"詹姆斯",num:6},
	{id:3,name:"科比",num:24}
])

</script>

<style lang="scss" scoped>

</style>
